//
//  DoorLockInfoViewController.m
//  RONGAO
//
//  Created by Kendama on 2018/2/26.
//  Copyright © 2018年 wei wang. All rights reserved.
//

#import "DoorLockInfoViewController.h"

@interface DoorLockInfoViewController ()

@property(nonatomic,strong)UILabel *tipsLabel;

@end

@implementation DoorLockInfoViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

#pragma mark - --------------------------懒加载--------------------------
- (UILabel *)tipsLabel
{
    if(!_tipsLabel)
    {
        UIView *superView = self.view;
        _tipsLabel = [[UILabel alloc]init];
        [superView addSubview:_tipsLabel];
        [_tipsLabel setFont:[UIFont systemFontOfSize:14]];
        _tipsLabel.text = @"系统版本号：2.2.2";
    }
    return _tipsLabel;
}

#pragma mark - --------------------------约束--------------------------
- (void)masLayoutSubview
{
    __weak UIView *superView = self.view;
    
    [self.tipsLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.mas_equalTo(superView.mas_centerX);
        make.top.mas_equalTo(superView.mas_top).with.offset(pxScaleHeight(172));
    }];
}

#pragma mark - --------------------------导航栏--------------------------
- (void)setNavigationStyle
{
    [self setLeftButtonImage:[UIImage imageNamed:@"icon_back_nor"]];
    [self setNavigationTitle:@"系统信息" titleColor:nil];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
